<!DOCTYPE html>
<html>
    <head>
        <title>Apollo</title>
        <meta charset="UTF-8">
        <link rel="stylesheet" href="./public/ext/layui/css/layui.css">
        <link rel="stylesheet" href="./public/ext/select2/select2.min.css">
        <link rel="stylesheet" href="./public/css/base.css">
        <link rel="stylesheet" href="./public/css/ionicons/ionicons.css">
        
        <script type="text/javascript" src="./public/js/jquery.min.js"></script> 
        <script type="text/javascript" src="./public/ext/layui/layui.js"></script>
        <script type="text/javascript" src="./public/ext/select2/select2.min.js"></script>
        <script type="text/javascript" src="./public/js/jquery.tmpl.min.js"></script> 
        <script type="text/javascript" src="./public/js/base.js"></script> 
    </head>
    
    <body>
        <div id="header">
            <div class="logout" onclick="logout()">退出</div>
        </div>
        <div id="left" action="{$action}" method="{$method}">
            <ul class="ul">
                <li id="order" url="?m=index-Order&do=add">
                    <div class="ion-clipboard"></div>
                    <span>订单</span>
                </li>
                <li id="customer" url="?m=index-Customer&do=add">
                    <div class="ion-person"></div>
                    <span>客户</span>
                </li>
                <li id="product" url="?m=index-Product&do=index">
                    <div class="ion-grid"></div>
                    <span>产品</span>
                </li>
                <li id="static" url="#">
                    <div class="ion-pie-graph"></div>
                    <span>统计</span>
                </li>
            </ul>
        </div>
        <div id="right">
            <div class="x-box">
                <div class="x-box-header">
                    <ul class="ul">
                        {loop $header $key $val}
                        <li id={$val['method']} url={$val['url']} class={$val['class']}>{$val['name']}</li>
                        {/loop}
                    </ul>
                </div>
                <div class="x_box-content">
                    {include $include_page}
                </div>
            </div>
            
        </div>
    </body>
</html>
